package com.woniuxy.carlife.carlifeorderweb.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
*@ClassName:PlatformOrderStatic
*@Description:
*@author qk
*@date 2021/4/7 20:09
**/
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_platform_order_static")
@ApiModel(value="PlatformOrderStatic对象", description="")
public class PlatformOrderStatic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单总数")
    private Integer oidNum;

    @ApiModelProperty(value = "总销售额")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "月订单数")
    private Integer oidNumMounth;

    @ApiModelProperty(value = "月销售额")
    private BigDecimal priceMounth;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer deleted;


}
